@import 'functions';
@import 'mixins';

.notification-bar {
  color: getColor(white);
  background: getColor(emperor);
  width: 100%;
  min-height: 56px;
  display: flex;
  align-items: center;

  @media print {
    display: none;
  }

  a {
    color: getColor(malibu);

    &:hover {
      color: darken(getColor(malibu), 25%);
    }
  }
}

.notification-bar__inner {
  position: relative;
  padding: 0.5em 36px 0.5em 1em;

  @include break {
    padding: 0.5em 1.5em;
  }
}

.notification-bar__close {
  position: absolute;
  font-size: 16px;
  top: 10px;
  right: 1em;
  padding: 0;
  border: none;
  cursor: pointer;
  color: getColor(white);
  background: none;
  transition: color 250ms;

  &:hover {
    color: getColor(malibu);
  }

  @include break {
    right: 1.5em;
  }
}
